package itsm.isperp.module.service.task;

import java.util.List;
import java.util.Map;

import itsm.isperp.framework.service.BaseService;
import itsm.isperp.module.entity.task.TskInspectCiCateCheck;
import itsm.isperp.module.repository.task.TskInspectCiCateCheckMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 服务
 * 
 * @author lizx
 * @date 2015-05-09 22:45
 */
@Service
public class TskInspectCiCateCheckService extends
		BaseService<TskInspectCiCateCheck> {

	@Autowired
	protected TskInspectCiCateCheckMapper tskInspectCiCateCheckMapper;

	@Override
	public TskInspectCiCateCheckMapper getRepository() {
		return this.tskInspectCiCateCheckMapper;
	}

	public List<Map<String, Object>> findAllByCiCategory(String categoryId) {

		return this.tskInspectCiCateCheckMapper
				.findAllByCiCategoryId(categoryId);
	}

}
